Static members in Java

Static members: Every application has 2 Contexts Static Non static Program execution always starts with Static Context Static – Common area to access in the application. Java Supports 4 static members Static main() method Static …

Edit Compile and Run java code

Edit, Compile and Run Java application: OS controls all applications in the computer. When we install JDK kit, Compiler and JVM will be installed into JDK folder. javac à Java Compiler java à JVM Compiler …

Java API

API Documentation: API stands for “Application Program Interface” To write your program, a set of programs(interface) provided by java developers. Using API, we can easily develop our application(because no need to write the code for …

Installing JDK

Installing JDK: JDK(Java Development Kit) is a Standalone application. Hence we need to download OS compatible application. We download JDK8 version from official website www.oracle.com Search for JDK : Download from the below options: After …

First Java application

First Java Application: The aim of first application is used to display “Hello world” message on output screen. The application as follows. class: It is a keyword. It must be in lower case In Java, …

Java Object and Class

C++, Java, .Net, Python … are Object oriented programming languages. We implement OOP features in all these language using 2 things Object Class. Object: Object is a real world entity. World is full of objects. …

Object Oriented Programming in Java

Object Oriented Programming: Java is Object Oriented Programming language. Java features are Encapsulation Inheritance Abstraction Polymorphism Note that, these features neither belongs to java nor to any other programming language. OOP features are Global. Any …

Java Naming Conventions

Naming Convention Rules: We must follow language rules while defining java programs. Every java application development involves number of developers. All developers should follow the same set of rules to deliver the right application. Class: …

Java application structure

The way of writing Program in C and Java: Every program is a collection of variables and functions(methods) We can define these members directly in C program. In java application, every statement belongs to class(object). …

Java application contexts

Application contexts: Java application represents real world objects communications. Every application has 2 contexts (locations) to access. Static context – free access Non static context – Restricted access General example to understand Static and Non …

Courses Enquiry Form