JAVA programming language: Java is a high-level, class-based, Object-oriented general-purpose programming language. Java was originally developed by James Gosling at
Continue readingCategory: Java
Java Annotations
Introduction to Java Annotations Java Annotation is a Java construct used to decorate classes, methods, fields, parameters, variables, constructors, etc.
Continue readingJava Logging
The log files can be captured using Java. We may require the application activity to be captured for a variety
Continue readingJava Assertions
Any assumptions made in the programme can be tested to see if they are accurate using an assertion. The assert statement
Continue readingJava expressions, statements, and blocks
Introduction Any programming language comprises generally these 3 components which are expressions, statements, and blocks. Without having proper knowledge of
Continue readingJava Nested Static Class
Introduction: Java can also have nested classes i.e. classes inside another class. The following example is a simple demonstration of
Continue readingJava try-catch statement
Using Try Catch Statements Although the Java run-time system’s default exception handler is handy for debugging, you’ll normally want to
Continue readingJava enum Constructor
What are Enums? Enums are types that represent a fixed set of related constants. What does it mean? Let us
Continue readingJava Variables and Literals
Java Variables A variable is a memory location or storage area to hold the data. Each variable should be given
Continue readingJava Nested and Inner Class
Nested classes A class declared inside any other class/interface is called a nested class. You may have any number of levels
Continue reading