Posts

#java #collection #array #list ArrayList vs Vector vs LinkedList in Jav...

Image

TIPS for JAVA Part 2 #java #javalanguage #strings #facts #javaprogrammin...

Image

#java #strings Very Conceptual & Important for String in JAVA

Image

#java #constructor Constructor Chaining in Java

Image

How to Traverse List in Java 8 and different ways

Image

#python #pythonprogramming Complete Python Tuple concept || IN ONE SHOT ...

Image

#python #pythonprogramming Packing and Unpacking operation in Tuples

Image

#java #javaprogramming #jdk1.9 Interface Enhancement in Java 9

Image

#java #javaprogramming #jdk1.8 Interface Enhancement in Java 8

Image

#python #compile #interpreted Python | Compiled or Interpreted ?

Image

#java #javaprogramming Third Highest & Smallest Element in an Array in ...

Image

#java #javaprogramming Constructor in Java

Image

#java #garbage #collection Garbage Collection in Java

Image

#java #javaprogramming Return Statement in Try Catch Finally Block in Java

Image

#sublimetext #run #java #javaprogramming Sublime Text editor configuration

Image

Java Access Modifiers

Image
Java Access Modifiers What are Access Modifiers? In Java, access modifiers are used to set the accessibility (visibility) of classes, interfaces, variables, methods, constructors, data members, and the setter methods.  Types of Access Modifier Before you learn about types of access modifiers, make sure you know about Java Packages. There are four access modifiers keywords in Java and they are: Modifier                              Description      Default -->              declarations are visible only within the package (package private)      Private  -->              declarations are visible within the class only      Protected -->     declarations are visible within the package or all subclasses      Public -->        ...

#java #modifiers #javaprogramming Access Modifiers in Java

Image

#java Class vs Object in Java

Image
  MAVEN : A BUILD MANAGEMENT TOOL Maven as a build automation tool and dependency management system for your Java projects. Maven provides many commands that are useful in the SDET workflow. Here are some commonly used Maven commands and their purposes: 𝐦𝐯𝐧 𝐜𝐥𝐞𝐚𝐧: Cleans the project by deleting the target directory, which contains the compiled classes and build artifacts. This command is often used before starting a fresh build. 𝐦𝐯𝐧 𝐜𝐨𝐦𝐩𝐢𝐥𝐞: Compiles the source code of the project. It compiles the Java source files in the src/main/java directory and places the compiled class files in the target/classes directory. 𝐦𝐯𝐧 𝐭𝐞𝐬𝐭: Runs the tests for the project. I𝘵 𝘦𝘹𝘦𝘤𝘶𝘵𝘦𝘴 𝘵𝘩𝘦 𝘵𝘦𝘴𝘵𝘴 𝘪𝘯 𝘵𝘩𝘦 𝘴𝘳𝘤/𝘵𝘦𝘴𝘵/𝘫𝘢𝘷𝘢 𝘥𝘪𝘳𝘦𝘤𝘵𝘰𝘳𝘺. Maven looks for test classes with names matching the pattern *𝐓𝐞𝐬𝐭 𝐨𝐫 *𝐈𝐓 (𝐈𝐧𝐭𝐞𝐠𝐫𝐚𝐭𝐢𝐨𝐧 𝐓𝐞𝐬𝐭) 𝐛𝐲 𝐝𝐞𝐟𝐚𝐮𝐥𝐭. Test reports and results are generated in the 𝐭𝐚𝐫𝐠𝐞𝐭/𝐬𝐮𝐫𝐞𝐟𝐢𝐫𝐞...

#https #httpmethods #api #properties API TERMINOLOGY Part-8

Image

#python #strings Reverse of String in Python(Using while loop, recursion...

Image

Reverse of String Part 1

Image

JetBrains - Aqua : A powerful IDE for test automation | Implementation o...

Image

JetBrains - Aqua : A powerful IDE for test automation | How to Configure...

Image

#api #path #query #parameter API TERMINOLOGY Part-7 (Query Parameters ...

Image

== Operator & .equal() method in Java

Image

#string #stringbufffer #java String Vs StringBuffer in Java

Image

HTTP METHODS

  HTTP METHODS GET Method: The HTTP GET method is used to read/ retrieve a representation of a resource. In the happy path ( non-error), GET returns a representation in XML or JSON and an HTTP response code of 200 (OK). In an error case, it most often returns a 404 (NOT FOUND) or 400 (BAD REQUEST). POST Method: The POST verb is most-often utilized to create new resources. In other words, when creating a new resource, POST to the parent and the service takes care of associating the new resource with the parent, assigning an ID (new resource URI), etc. On successful creation, return HTTP status 201, returning a Location header with a link to the newly-created resource with the 201 HTTP status.In an error case 404 (Not Found), 409 (Conflict) if resource already exists. PUT Method: PUT is most-often utilized for update capabilities, PUT-ing to a known resource URI with the request body containing the newly-updated representation of the original resource. On successful update, return 20...

Endpoints vs Resources

Endpoints vs Resources Difference between Endpoints & resources: Resource is a  subset of Endpoint. An endpoint by itself is the location where a service can be accessed. The term endpoint is focused on the URL that is used to make a request. The term resource is focused on the data set that is returned by a request. The terms resource and endpoint are often used synonymously. But in fact they do not mean the same thing. Resources: Architecturally, resources are data sets that an API allows you to work with, and which are accessible via endpoints. They have relationships with other resources as well as a set of operations that you can carry out on them. Endpoints Endpoints are URIs that introduce the location of the resource that you want to do a CRUD operation on. The relation between a resource, an endpoint, and an HTTP method is the following: What → Where → Action Examples: Resources :   /gmail/about/#  ( Base URL:  https://www.google.com ) Endpoin...

#api #endpoint #resources #https API TERMINOLOGY Part 6

Image

#python #programming #index Program to find Positive & Negative Index o...

Image

#function #python #method Methods in Python Part-2

Image

#function #python #method Methods in Python Part-1

Image

#python #help #function Help Function in Python

Image

#python #inheritance #java Python Support Multiple Inheritance at class...

Image

#java #javaprogramming #interface How many ways of Interface Method Imp...

Image

#java #interface #javaprogramming Interface Method Implementation

Image

#database #join Self JOIN in MySql : 2

Image

ISTQB Problems on Equivalence Partitioning And Boundary Value Analysis

   Q 1:  In an Examination, a candidate has to score a minimum of 24 marks in order to clear the exam. The maximum that he can score is 40 marks.  Identify Valid Equivalence values if the student clears the exam. a) 22,23,26 b) 21,39,40 c) 29,30,31 d) 0,15,22 Solution: The classes will be as follows: Class I: values < 24   => invalid class Class II: 24 to 40       => valid class Class III: values > 40 => invalid class We need to identify Valid Equivalence values. Valid Equivalence values will be there in a Valid Equivalence class. All the values should be in Class II. The answer is ‘C’ Q 2:  One of the fields on a form contains a text box that accepts alphanumeric values. Identify the Valid Equivalence class. a) BOOK b) Book c) Boo01k d) Book Solution: Alphanumeric is a combination of alphabets and numbers. Hence we have to choose an option which has both of these. A valid equivalence class will consist of both alphab...

#java #exceptionhandling #javaprogramming #faq Exception Propagation/Ch...

Image

#https #httpmethods #api API TERMINOLOGY Part 5

Image

#java #abstract #interface Difference between abstract class and interface

Image

TOP 20 Commands : Git/GitHub Cheat Sheet

  TOP 20 Commands  Git/GitHub Cheat Sheet Git and GitHub: Git is the actual version control system. It is an open source DVCS (distributed version control system) that runs in the command line. This basically means it saves the entire history of the project. GitHub, commonly confused with Git, is actually a repository hosting service.  Installation of GIT & Creating A/C on GITHUB: Download GIT for window/Mac(depends upon OS) Use Git Bash, which is available when you install Git Once git is installed go ahead and create a free account to GitHub.  Cheat Sheet Command-1:  git init This will create a .git repository in your project. A repository or “repo” is a collection of all the changes you’ve made to your project over time and will build a history of these changes. This is the first thing you want to do with a new project. Command-2:   git config --global user.name "Your Name"  git config --global user.email " yourEmail@mail.com " This sets up you...