Profile cover photo
Profile photo
Utsav Singhal
About
Utsav's posts

Post has attachment

Post has attachment
Important points about the main method - 2/2
Continuing our discussion from the previous post on the main method. 6. Multiple classes can contain the main method in a source file public class HelloWorld {
public static void main(String[] args) {
System.out.println("No. of arguments p...

Post has attachment
Important points about the main method - 1
Let's see a "Hello world!" program: public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello world!");
}
} Running the program... C:\Dropbox\practice\blog>javac HelloWorld.java

C:\Dropbo...

Is anyone studying for the OCP #Java exam? I wanted to form/join a study group online

Post has attachment
Singly rooted heirarchy in Java
Let us explore the IS-A relationship. A Driver IS-A Person (Meaning the Driver class extends the Person class) A Cat IS-A(n) Animal A Square IS-A Shape Extending a class means providing some specific functionality in the new class. This IS-A relationship be...

Post has attachment
Hello world in Java
Is Java Development Kit installed on your machine? The path of the JDK (for Windows) by default is the following: C:\Program Files\Java\jdk<version> If the above directory is not present, there is a good chance JDK is not installed on your machine (you may ...

Post has attachment
Java Applications - The Big Picture
What is Java? Java is a (object-oriented) programming language. It is a computing platform widely used for development of: Websites Standalone desktop applications Android apps Online games Apps for Internet of things (and the like) Java comes in 3 flavors:...

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded