Online Notes
Java

Recent Java Snippets

  • Read Input from User
  • Get jsp response as a string inside servlet
  • Find Upper Case & Lower Case
  • Sorting HashMap by values in ascending and descending order

Recent Java Examples

  • How to reverse Singly Linked List?
  • Find out duplicate number between 1 to N numbers.
  • Find out middle index where sum of both ends are equal
  • Write a singleton class in Java
  • Write a java program to reverse a string?
  • Write a java program to remove all white spaces from a string.?
  • Singly linked list implementation
  • Doubly linked list implementation

Recent Java Questions

  • Explain Platform?
  • What is Multi-threading in Java?
  • What is ‘IS-A’ relationship in java?
  • Explain Java Coding Standards for Constants?
  • Explain Java Coding Standards for variables ?
  • Explain Java Coding standards for Methods?
  • Explain Java Coding standards for interfaces?
  • Explain Java Coding Standards for classes or Java coding conventions for classes?
  • Difference between ‘>>’ and ‘>>>’ operators in java?
  • What are constants and how to create constants in java?

Explain Java Coding Standards for variables ?

  1. Variable names should start with small letters.
  2. Variable names should be nouns.
  3. Short meaningful names are recommended.
  4. If there are multiple words every inner word should start with Uppercase character.

Example : string, value, empName, empSalary

Related posts

  • Differences between Overriding and Overloading in Java?
  • What is a class in Object Oriented Programming ?
  • What are constants and how to create constants in java?
  • What are Object Oriented Programming (OOPs) Concept ?
  • What is super keyword in java ?
  • Static and dynamic binding in java
  • What is an object in Object Oriented Programming ?
  • What is method overloading in java ?
  • Define public, static, final ?
  • Difference between ‘>>’ and ‘>>>’ operators in java?

Recent Snippets

  • How to Install Angular on Ubuntu (18.04 & 16.04)
  • Install Node.js in Ubuntu
  • Angular CLI & Troubleshooting
  • Simple POJO Example - Employee
  • Hibernate Example Configuration File — hibernate.cfg.xml

Recent Examples

  • How to reverse Singly Linked List?
  • Find out duplicate number between 1 to N numbers.
  • Find out middle index where sum of both ends are equal
  • Write a singleton class in Java
  • Write a java program to reverse a string?

Recent Questions

  • What are the modules of spring framework?
  • List some of the Spring Framework Annotations?
  • How many types of association mapping are possible in hibernate?
  • Define persistent classes?
  • What is HQL?

  • Contact

All Right Reserved © Online Note