Skip to main content

Posts

Statement Structure and Whitespace

  Java programs are made up of statements. Now, a lot of different things can go on in a statement, and we'll talk about those things throughout this course, but fundamentally, programs are made with statements. Now each statement ends with a semicolon. Java is a language where the newline and the Enter key doesn't really create a new statement. It relies instead on the semicolon. If you're going from any of the C ‑ based languages, that's something you're very familiar with. Other languages like Visual Basic use the end of line to mark a statement. In Java, it's the semicolon. And the parts of a statement can be separated by zero or more whitespaces, and a whitespace could be many different things. It can be the space character, it can be a tab. And because statements don't end with newline, even the newline itself is just a whitespace in Java. Java's a language that gives us a lot of flexibility with whitespaces, so remember we said that the parts coul...

Integrated Development Environments (IDE)

If you wanted to, you could build your Java applications having only installed the JDK. You could use some arbitrary text editor to type in your program code, and then you could use command line tools to do all the compiling and executing of your programs, and that would work fine, and people did that for years, and some people still do that, but in general when we're developing, we want to use a more productive model than that. We like these things called integrated development environments that allow us to type in our code, compile it, debug it, everything all in one place. Now Java has lots and lots of IDEs available, and two of those you'll most commonly hear about are NetBeans and IntelliJ, both of which are available for free. For many years, NetBeans was maintained by the Oracle Corporation, and when Oracle was maintaining it, it was the official IDE for Java development. But Oracle support for NetBeans stopped as of JDK 8, so if you're working with an older version ...

JRE vs. JDK

  The JRE and the JDK are two terms you hear people mention very frequently in the Java world, and what they are the two parts that we need in order to run and create Java applications. The JRE is the Java Runtime Environment. JDK is the Java Development Kit. And so, the JRE is what you require in order to run Java applications, and end users normally install the JRE. They're the ones who are going to run our apps. The JDK provides the tools that we need to create Java apps. So, normally, developers are the ones who install the JDK on their machines. And in order to develop apps, you need to run them, so the JDK installation includes a JRE. So how does all this work together? If we sit down, and we type up a Java source file with our program code inside of it, and we want to go ahead and run that in some host environment, how do we do it? A host environment might be Windows, Linux. It could be Mac. It could even be a browser. It might be a phone running Android. How do we get from ...

What is Java?

The first thing we need to understand to get started is exactly what is Java? When someone says Java, what are they talking about? Well, Java is a programming language, but Java is also a runtime environment. It's both of those things. So, when we think about the programming language, it has things like the syntax, the data types, control flow, like looping and conditional statements and being object ‑ oriented, right, doing inheritance, and so forth. And then runtime, of course, must support those things, but it also provides things like configuration, security, a threading model, input/output, that sort of thing. So, when someone says Java, they could be referring to a programming language or the runtime environment or the whole thing. Now in general, the runtime environment someone is talking about when they just say Java is often referred to as Java Standard Edition. Right, that's kind of the basic Java environment. But it also provides other environments that derive from...

Railways will tell passengers to not charge laptops and phones at night, here is why

Indian Railways issued these instructions back in 2014 but their proper implementation seems to be starting now. HIGHLIGHTS You will soon not be able to charge your phone on a train. The restriction on phone charging will be between 11 pm and 5 am. Indian Railways found overcharging of devices caused minor fires on trains. When you travel by train in India, it is rare that you would have thought about charging your phone onboard. I mean it is not something that will occur to you before you step into a train to get on with your journey. But even though it is one of the most overlooked things, it is important. Charging your phone on a train is something that everyone does. But there is going to be a change to this simple benefit that you avail inside trains. Indian Railways has decided to put restrictions on charging mobile phones, laptops during certain hours to prevent fire hazards on trains. So, if you are traveling between 11 pm and 5 am on a train, you will not be able to cha...

Explained: Which employees are likely to benefit most from new wage code

According to the Code of Wages, 2019, the basic pay of an employee has to be 50 per cent of the total CTC. Find out which employees will benefit most from the implementation of the new wage code: The government may soon notify the new wage code rules that will lead to a change in the salary structure for a large number of employees in the country. According to the Code of Wages, 2019, the basic pay of an employee has to be 50 per cent of the total salary or cost-to-company (CTC). At the moment, most companies give employees a lower percentage of basic pay while keeping the number of allowances higher. However, this will change as soon as the new wage code comes into effect. Some reports indicate that the new wage code will come into effect from April, but the government has not officially declared it till now. Last month, it was informed that the government is working to notify it soon. WHAT HAPPENS TO YOUR SALARY? When the new wage code kicks in, employers have to pay at least 50 ...

How to create/record a Macro

Step to Create a Basic Macro : 1)open up a new book, bring up the Developer tab (If you don't have the Developer tab, you can go to File, Options, Customize Ribbon and makes sure that the Developer tab is selected.) 2)open VBE editor (Developer -> Visual Basic or ShortcutKey: ALT+F11) 3)Add Module (Insert -> Module, Module is nothing but a workspace to writer our code) 4)Write/copy below code in Module workspace and click on RUN(F5)/PLAY option Sub MyFirstMacro() MsgBox "Welcome to MYTECHIE EXPERT BLOG" End Sub 5)You'll get "Welcome to MYTECHIE EXPERT BLOG" output in message box

Macro - What, Why, Where

Macro : What is meant by Macro : It is an excel/vba programming set of statements to perform specific task on a single button click Why we need a Macro : Let’s consider a Scenario • In My Project, to do some activities such as Database cache clean activity, verify patch logs, check application behaviour on daily basis before getting into my work. Just imagine, if all such activities handled daily by just a single BUTTON CLICK. Yeah this is possible with EXCEL MACRO programming Where to use a Macro : If any repetitive daily activity, you can use EXCEL MACRO in place of it with little bit programming.

Saving your files as macro-enabled workbooks

It's really important that whenever you make something in the VBE(Called Visual Basic Editor), whenever you insert a module and you put code in there, you have to make sure that you're saving your workbook as not just a regular XLS exe file , but XLS EM .So, it's called the Macro Enabled Workbook. How can you do that , 1)Open Excel, Go into File 2)Select Save As option 3)And for the file type, you can choose here instead of Excel workbook, you can choose Excel Macro-Enabled Workbook.Again. Take a Note Of : If you've any sort of macros or you write code in a sub or a function, it has to be a Macro-Enabled Workbook, if you just save it as an Excel workbook, it's going to lose all of those modules and the code that you put in there.

ClaimCenter

Claim Center is a web-based enterprise software application designed to manage the process of reporting, verifying, and making payments on claims against a policy. It manages the claims process from first notice of loss through execution of financial transactions, including the payment and setting of reserves. CC Functionality involves Group-based ownership of claims and claim sub objects Claim Financials Address book integration Workspace to manage claims process Distributed collaboration Activity coordination Worker and claim management