• Method Calling

    Categories: Java 8(JDK1.8) ||

    For using a method, it should be called. There are two ways in which a method is called i.e., method returns a value or returning nothing (no return value).The process of method calling is simple. Whe

  • Java - Methods

    Categories: Java 8(JDK1.8) ||

    A Java method is a collection of statements that are grouped together to perform an operation. When you call the System.out.println() method, for example, the system actually executes several statemen

  • Java - Regular Expressions

    Categories: Java 8(JDK1.8) ||

    Java provides the java.util.regex package for pattern matching with regular expressions. Java regular expressions are very similar to the Perl programming language and very easy to learn.A regular exp

  • Gregorian Calendar Class

    Categories: Java 8(JDK1.8) ||

    GregorianCalendar is a concrete implementation of a Calendar class that implements the normal Gregorian calendar with which you are familiar. We did not discuss Calendar class in this tutorial, you ca

  • Sleeping for a While

    Categories: Java 8(JDK1.8) ||

    You can sleep for any period of time from one millisecond up to the lifetime of your computer. For example, the following program would sleep for 3 seconds.Exampleimport java.util.*;public class Sleep

  • Simple DateFormat Format Codes

    Categories: Java 8(JDK1.8) ||

    To specify the time format, use a time pattern string. In this pattern, all ASCII letters are reserved as pattern letters, which are defined as the following −CharacterDescriptionExampleGEra designa

  • Date Comparison

    Categories: Java 8(JDK1.8) ||

    Following are the three ways to compare two dates −You can use getTime( ) to obtain the number of milliseconds that have elapsed since midnight, January 1, 1970, for both objects and then compare th

  • Getting Current Date and Time

    Categories: Java 8(JDK1.8) ||

    This is a very easy method to get current date and time in Java. You can use a simple Date object with toString() method to print the current date and time as follows −Exampleimport java.util.Date;p

  • Java - Date and Time

    Categories: Java 8(JDK1.8) ||

    Java provides the Date class available in java.util package, this class encapsulates the current date and time.The Date class supports two constructors as shown in the following table.Sr.No.Constructo

  • Creating Arrays In Java

    Categories: Java 8(JDK1.8) ||

    You can create an array by using the new operator with the following syntax −SyntaxarrayRefVar = new dataType[arraySize];The above statement does two things −It creates an array using new dataType

  • Java - Arrays

    Categories: Java 8(JDK1.8) ||

    Java provides a data structure, the array, which stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to

  • Creating Format Strings In Java

    Categories: Java 8(JDK1.8) ||

    You have printf() and format() methods to print output with formatted numbers. The String class has an equivalent class method, format(), that returns a String object rather than a PrintStream object.

  • Concatenating Strings In Java

    Categories: Java 8(JDK1.8) ||

    The String class includes a method for concatenating two strings −string1.concat(string2);This returns a new string that is string1 with string2 added to it at the end. You can also use the concat()

  • String Length In Java

    Categories: Java 8(JDK1.8) ||

    Methods used to obtain information about an object are known as accessor methods. One accessor method that you can use with strings is the length() method, which returns the number of characters conta

  • Java In Strings Class

    Categories: Java 8(JDK1.8) ||

    Strings, which are widely used in Java programming, are a sequence of characters. In Java programming language, strings are treated as objects.The Java platform provides the String class to create and

  • Character Methods In Java

    Categories: Java 8(JDK1.8) ||

    Following is the list of the important instance methods that all the subclasses of the Character class implement −Sr.No. - Method & Description1.isLetter() - Determines whether the specified cha

  • Escape Sequences In Java

    Categories: Java 8(JDK1.8) ||

    A character preceded by a backslash (\) is an escape sequence and has a special meaning to the compiler.The newline character (\n) has been used frequently in this tutorial in System.out.println() sta

  • Java In Character Class

    Categories: Java 8(JDK1.8) ||

    Normally, when we work with characters, we use primitive data types char.Examplechar ch = 'a';// Unicode for uppercase Greek omega characterchar uniChar = '\u039A'; // an array of charschar[] cha

  • Java - Numbers Class

    Categories: Java 8(JDK1.8) ||

    Normally, when we work with Numbers, we use primitive data types such as byte, int, long, double, etc.Exampleint i = 5000;float gpa = 13.65f;double mask = 125;However, in development, we come across s

  • Java - Decision Making

    Categories: Java 8(JDK1.8) ||

    Decision making structures have one or more conditions to be evaluated or tested by the program, along with a statement or statements that are to be executed if the condition is determined to be true,

  • What’s New in Node v16? let's know

    Categories: Node JS ||

    What’s New in Node v16? let's know   Introduction The latest major release Node v16.0.0 is out recently, and this version will soon be moved to the LTS status. The official Node doc

  • Node.js Interview Question for experienced 2022

    Categories: Interview questions and answers || Experienced || Node JS ||

    Node.js Interview Question for experienced 2022   Question: What is Node.js? Answer: Node.js is a very popular scripting language that is primarily used for server-side scripting requirem

  • Java - Loop Control

    Categories: Java 8(JDK1.8) ||

    There may be a situation when you need to execute a block of code several number of times. In general, statements are executed sequentially: The first statement in a function is executed first, follow

  • Precedence of Java Operators

    Categories: Java 8(JDK1.8) ||

    Operator precedence determines the grouping of terms in an expression. This affects how an expression is evaluated. Certain operators have higher precedence than others; for example, the multiplicatio

  • Miscellaneous Operators

    Categories: Java 8(JDK1.8) ||

    There are few other operators supported by Java Language.Conditional Operator ( ? : )Conditional operator is also known as the ternary operator. This operator consists of three operands and is used to

  • The Assignment Operators

    Categories: Java 8(JDK1.8) ||

    Following are the assignment operators supported by Java language −OperatorDescriptionExample=Simple assignment operator. Assigns values from right side operands to left side operand.C = A + B will

  • The Logical Operators

    Categories: Java 8(JDK1.8) ||

    The following table lists the logical operators −Assume Boolean variables A holds true and variable B holds false, then −OperatorDescriptionExample&& (logical and)Called Logical AND operat

  • The Bitwise Operators

    Categories: Java 8(JDK1.8) ||

    Java defines several bitwise operators, which can be applied to the integer types, long, int, short, char, and byte.OperatorDescriptionExample& (bitwise and)Binary AND Operator copies a bit to the

  • The Relational Operators

    Categories: Java 8(JDK1.8) ||

    There are following relational operators supported by Java language.Assume variable A holds 10 and variable B holds 20, then −Operator - Description -Example== (equal to)Checks if the values of two

  • Java - Basic Operators

    Categories: Java 8(JDK1.8) ||

    Java provides a rich set of operators to manipulate variables. We can divide all the Java operators into the following groups −1. Arithmetic Operators2. Relational Operators3. Bitwise Operators4. Lo

  • Java - Modifier Types

    Categories: Java 8(JDK1.8) ||

    Modifiers are keywords that you add to those definitions to change their meanings. Java language has a wide variety of modifiers, including the following −1. Java Access Modifiers2. Non Access Modif

  • Basic Datatypes In Java

    Categories: Java 8(JDK1.8) ||

    Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in the memory.Based on the data type of a variable, the operating

  • No argument Constructors

    Categories: Java 8(JDK1.8) ||

    As the name specifies the no argument constructors of Java does not accept any parameters instead, using these constructors the instance variables of a method will be initialized with fixed values for

  • Constructors

    Categories: Java 8(JDK1.8) ||

    A constructor initializes an object when it is created. It has the same name as its class and is syntactically similar to a method. However, constructors have no explicit return type.Typically, you wi

  • Java Package

    Categories: Java 8(JDK1.8) ||

    In simple words, it is a way of categorizing the classes and interfaces. When developing applications in Java, hundreds of classes and interfaces will be written, therefore categorizing these classes

  • Source File Declaration Rules

    Categories: Java 8(JDK1.8) ||

    As the last part of this section, let's now look into the source file declaration rules. These rules are essential when declaring classes, import statements and package statements in a source file.The

  • Classes in Java

    Categories: Java 8(JDK1.8) ||

    A class can contain any of the following variable types.Local variables − Variables defined inside methods, constructors or blocks are called local variables. The variable will be declared and initi

  • Object and Classes In Java

    Categories: Java 8(JDK1.8) ||

    Java is an Object-Oriented Language. As a language that has the Object-Oriented feature, Java supports the following fundamental concepts −1. Polymorphism2. Inheritance3. Encapsulation4. Abstraction

  • Inheritance

    Categories: Java 8(JDK1.8) ||

    In Java, classes can be derived from classes. Basically, if you need to create a new class and here is already a class that has some of the code you require, then it is possible to derive your new cla

  • Java Modifiers

    Categories: Java 8(JDK1.8) ||

    Like other languages, it is possible to modify classes, methods, etc., by using modifiers. There are two categories of modifiers −Access Modifiers − default, public , protected, privateNon-access

  • Java Identifiers

    Categories: Java 8(JDK1.8) ||

    All Java components require names. Names used for classes, variables, and methods are called identifiers.In Java, there are several points to remember about identifiers. They are as follows −All ide

  • Basic Syntax in Java

    Categories: Java 8(JDK1.8) ||

    When we consider a Java program, it can be defined as a collection of objects that communicate via invoking each other's methods. Let us now briefly look into what do class, object, methods, and insta

  • Popular Java Editors

    Categories: Java 8(JDK1.8) ||

    To write your Java programs, you will need a text editor. There are even more sophisticated IDEs available in the market. But for now, you can consider one of the following −Notepad − On Windows m

  • What is Next?

    Categories: Java 8(JDK1.8) ||

    The next chapter will guide you to how you can obtain Java and its documentation. Finally, it instructs you on how to install Java and prepare an environment to develop Java applications.Local Environ

  • Tools You Will Need

    Categories: Java 8(JDK1.8) ||

    For performing the examples discussed in this tutorial, you will need a Pentium 200-MHz computer with a minimum of 64 MB of RAM (128 MB of RAM recommended).You will also need the following softwares

  • History of Java

    Categories: Java 8(JDK1.8) ||

    James Gosling initiated Java language project in June 1991 for use in one of his many set-top box projects. The language, initially called ‘Oak’ after an oak tree that stood outside Gosling's offi

  • Java Explaination

    Categories: Java 8(JDK1.8) ||

    Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java 1.0 [J2SE]).

  • Applications of Java Programming

    Categories: Java 8(JDK1.8) ||

    The latest release of the Java Standard Edition is Java SE 8. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. For exa

  • Java Programming in Python

    Categories: Java 8(JDK1.8) ||

    Just to give you a little excitement about Java programming, I'm going to give you a small conventional C Programming Hello World program, You can try it using Demo link.public class MyFirstJavaProgra

  • Why to Learn java Programming?

    Categories: Java 9 ||

    Java is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Software Development Domain. I will list down some of the key advantages of

Top Blogs
Interface and Usability of 1win: User Experience Published at:- Tips and Tricks to Win with Slot Machines 2024 Published at:- Educate-Online Partner Schools | Transforming Global Education Published at:- The Mathematics of Betting Using Statistics and Probabilities in IPL 2024 Published at:- Man of the Match: Where to Place Bet on MoM in India? Published at:- Phases of Software Testing Life Cycle Published at:- APPLICATIONS OF INTEGRATION IN REAL LIFE SCENARIOS Published at:- Crazy Time casino games review Mastering | Strategy | Bonus Published at:- Cricket Betting in India - How Betting is Driving the Sport's Growth in India Published at:- Welcome to The Ultimate Online Casinos Destination: Score Big Wins and Unforgettable Experiences Published at:- What is the best brain booster Published at:- JeetWin App: A Comprehensive Review for the Bangladesh Market Published at:- Unveiling the Best Game Art Design Courses for Future Innovators Published at:- Managing Diabetes at Home with Redimis: A Comprehensive Guide Published at:- A Balanced Approach: What to Eat for Sugar Control Published at:- How Can I Check Air Pollution in My Area? Published at:- Is Pollution in Delhi Decreasing? A Closer Look at Recent Trends Published at:- Taking Action Against Air Pollution: Safeguarding Our Health Published at:- The Main Effects of Air Pollution in Delhi: A Looming Crisis Published at:- Protecting Our Environment: Practical Steps to Combat Pollution in India Published at:- Tips for Finding Relief from Cold and Cough in Winter Published at:- How to Stay Healthy During the Winter Season Published at:- How to Increase Platelets Quickly in Dengue Fever Published at:- Healthy Fruits to Boost Platelet Count During Dengue Published at:- Unmasking Malaria: Recognizing the Telltale Signs Published at:- Choosing the Right Approach: Homeopathic or Allopathic Treatment for Dengue Published at:- A Comprehensive Guide on How to Take Precautions Against Dengue Fever Published at:- Dengue Fever: Recognizing Symptoms and Taking Precautions Published at:- Common Winter Diseases: Understanding and Prevention Published at:- 5 Common Winter Diseases in India: A Guide to Protect Yourselves Published at:- The Joyous Celebration of Jesus' Birth: A Journey Through Christmas Traditions Published at:- Elevate Your Holiday Spirit: Christmas Home Decoration Tips Published at:- The Timeless Tradition: Why We Raise a Glass of Wine on Christmas Published at:- The Timeless Tradition: Why We Raise a Glass of Wine on Christmas Published at:- The Perfect Christmas Cake: A Step-by-Step Recipe Guide Published at:- Diwali Delights: A Feast of Culinary Splendor Published at:- The Significance of Goddess Lakshmi's Blessings in Diwali Published at:- Diwali Bhaidooj: Strengthening Sibling Bonds through Tradition Published at:- Diwali Special Activities: Celebrating the Festival of Lights Published at:- A Radiant Guide to Diwali: Preparations that Illuminate the Festival of Lights Published at:- Diwali Laxmi Puja: Invoking Prosperity and Abundance Published at:- Diwali Celebration: Embracing Light, Unity, and Renewal Published at:- When is Diwali 2023? Date and Time Laxmi Puja Muhurt Published at:- Diwali: The Festival of Lights Published at:- Navigating Excellence: The Best Medical Schools in the US Published at:- The Top 10 Universities for Medicine in the USA: A Comprehensive Guide Published at:- Unleashing the Power of Microservices with Spring Boot Applications Published at:- Unveiling the Top Generative AI Companies: Pioneers in Artificial Intelligence Innovation Published at:- Unraveling Artificial General Intelligence: The Quest for Human-like Machines Published at:- Navigating the Path to Success: A Guide for New Grad Software Engineers Published at:- Navigating the Path to Success: The Role of an Entry-Level Software Engineer Published at:- Navigating the Path to Success The Entry Level Software Engineer Published at:- Exploring the Latest Version of AngularJS: What's New and Exciting Published at:- The Gamblers Toolkit Must Have Apps for Betting Enthusiasts Published at:- Andar Bahar Review How to Start Your Casino Journey 2023 Published at:- How Does The Gameplay Published at:- A Transformative Leap in Operating Systems Published at:- A Paradigm Shift in the World of Operating Systems Published at:- Redefining The Computing Experience Published at:- Windows 11 Security Features: Protecting Your Digital World Published at:- What is SD WAN and Why Do You Need It Published at:- Mostbet App in India Published at:- A Step by Step Guide to Creating Your First SQL Database Published at:- Mistakes To Avoid While The สล็อตแตกบ่อย Published at:- Vegas Live Slots Vibes: Bringing the Strip to Your Screen Published at:- Top Tips That Boost SAT Score Published at:- Pin up Casino Is the Most Popular Live Casino Site in India Published at:- Find the Best Cricket Betting Apps in India | Legal Indian Apps Published at:- An Introduction to Measurement of Volume in Cubic Feet Published at:- How Vocabulary Questions Help to Improve the English Proficiency tests Published at:- Secondary Schools in London: A Comprehensive Overview Published at:- impact on Bitcoin economy Published at:- Building Your Business Empire: Essential Steps for Successful Company Formation Published at:- How Soy Based Feeds Can Improve Livestock Performance Published at:- From Above and Beyond Enhancing Surveying with Drone Technology Published at:- Piano Keyboard 101 A Beginner's Guide To Learning And Mastering The Basics Published at:- The Campfire Connection: 5 Ways Camping Ignites Socializing and Bonding Published at:- 5 Best Outdoor Subscription Boxes for Men Published at:- Everything To Know About Cryptocurrency Published at:- Buy BitcoinWith Credit Card: Risks, Rewards, And Everything In Between Published at:- The Ultimate Guide to Choosing the Best Electric Vehicle Published at:- Is Software Engineering Hard Published at:- What is Splunk: How It Works and Why It Matters Published at:- The Top 5 3D Printing Technologies You Need to Know About Published at:- New Education Policy in India 2023 Published at:- iOS 15 vs iOS 16: What's the Difference and Which One Should You Upgrade To Published at:- 1x2 Betting Tips in Football: a Guide to Win Published at:- The Value of Sports Betting and How It Can Help You Published at:- Detailed guide on the Airtel World Pass Published at:- Transfer pricing regulations and guidelines in the UAE Published at:- How Can DevOps Training In Chennai Boost Your Career Published at:- The Benefits of owning an NFT Collection Published at:- 5 Reasons Why People Like Betting at Mostbet from Pakistan Published at:- Major League Baseball betting tips | Rajbet sportsbook in India Published at:- Bluechip App on Android and IOS | How to Download Android and IOS Bluechip App Published at:- How To Earn Crypto (Best Ways To Earn Cryptocurrency) | Binany trading platform in India Published at:- Common Pitfalls and How to Avoid Them for Perfect Conversion Results in Excel To pdf conversion Published at:- Betwinner india audit Published at:- Happy Teen Patti apk Teen Patti Master is a Web based Game Published at:- Jeetwin App Review | Mobile Sports Betting Application for Bangladesh Published at:-
R4R Team
The content on R4R.co.in website is created by expert teams.We have vistots from India, Afghanistan, Bahrain, Bhutan, Canada, France, Germany, Iraq, Japan, Kenya, Kuwait, Maldives, Nepal, Netherlands, Nigeria, Oman, Qatar, Russia, Rwanda, Seychelles, Tanzania, Ukraine, UAE, UK, USA etc