Browse by Domains

Java

struts in java

Introduction to Struts in Java

Struts in Java is an open-source framework that is made by Apache. Apache provides a free source to download Struts for users. It follows the MVC (Model View Controller) pattern. There are three models in MVC – Model0, Model1, Model2. It provides an implementation of MVC architecture. It gives us pre-built classes for MVC that […]

Introduction to Struts in Java Read More »

generics in java

Constructors in Java

What is a constructor?  We all know that an object of a particular class contains instance variables, but if we want to perform some operations on the instance variables we need to initialize the Instance variables. This is where a constructor comes in. You can do so by having the same name as the class

Constructors in Java Read More »

Data Structures & Algorithm using Java

HASHMAP IN JAVA – Everything You Need to Know About

INTRODUCTION In Java, you might have heard about the Map interface (which extends the Collection Interface). There are some implementation classes of map interface, out of which one such class is HashMap (present in java. util package). It is denoted as HashMap<K, V> where K stands for Key and V for value. In simpler terms,

HASHMAP IN JAVA – Everything You Need to Know About Read More »

Palindrome in Python

Palindrome in Java

1.What is Palindrome A Palindrome is a word or phrase that is spelled the same even in the backward direction. (ignoring spacing, punctuations, and capitalization) A Palindrome No. is a number that remains the same even after reversing Ex:.161,24542,848, 38983. It is also a string or sequence of characters i.e. it has the same sequence

Palindrome in Java Read More »

strings in java

Strings In Java

Introduction To Strings The String is an object in java. The string represents a sequence of characters, But unlike many other languages that implement String as character arrays, java implements string as objects of type string. Here is a string “Hello World” OR more accurately it’s a string literal, which means a string value  A

Strings In Java Read More »

scala tutorial

Scala Tutorial – Learn Scala Step-by-Step Guide

What is Scala? Scala stands for Scalable Language. It is a multi-paradigm programming language. Scala language includes features of functional programming and object-oriented programming. It is a statically typed language. Its source code is compiled into bytecode and executed by Java virtual machine(JVM). Scala is object-oriented Scala is an object-oriented language. In Scala, every value

Scala Tutorial – Learn Scala Step-by-Step Guide Read More »

Inheritance in Java

Inheritance concepts are everywhere in Java programming. It’s impossible to write java programs without using inheritance.  When a class is declared, with its specification, and the other sub-class members will want to use its member methods(functions); that’s when they will go for inheritance concepts.  What is Inheritance?  Inheritance is a concept that acquires the properties

Inheritance in Java Read More »

Scroll to Top