Vikyath Ram has Published 173 Answers

The Data Link Layer of OSI Model

Vikyath Ram

Vikyath Ram

Updated on 17-Jun-2020 12:21:31

The data link layer (Layer 2) converts the raw transmission facility provided by the physical layer to a reliable and error-free link.The main functions of the data link layer are as follows −It breaks up the stream of bits into data frames having sizes from a few hundred to a ... Read More

Metropolitan Area Networks (MAN)

Vikyath Ram

Vikyath Ram

Updated on 17-Jun-2020 10:58:37

A metropolitan area network (MAN) is a network with a size greater than LAN but smaller than a WAN. It normally comprises networked interconnections within a city that also offers a connection to the Internet.The distinguishing features of MAN areNetwork size generally ranges from 5 to 50 km. It may ... Read More

How to split a string in Java?

Vikyath Ram

Vikyath Ram

Updated on 16-Jun-2020 11:58:57

Java provides a split() methodology you'll be able to split the string around matches of the given regular expression.The array returned by this method contains each substring of this string that is terminated by another substring that matches the given expression or is terminated by the end of the string. If ... Read More

What is the difference between decodeURIComponent and decodeURI?

Vikyath Ram

Vikyath Ram

Updated on 16-Jun-2020 11:03:12

decodeURIComponentTo decode a URL component in JavaScript, use the decodeURLComponent() method.ExampleYou can try to run the following code to decode a URL component −<!DOCTYPE html> <html>    <body>       <button onclick="display()">Check</button>       <p id="demo"></p>       <script>          function display() {   ... Read More

How to Turn Off Form Autocompletion in HTML?

Vikyath Ram

Vikyath Ram

Updated on 15-Jun-2020 11:14:06

The autocomplete attribute is used with form element to set the autocomplete feature on or off. If the autocomplete feature is on, the browser will automatically show values, based on what users entered before in the field. If the autocomplete feature is off, the browser won’t automatically show values, based on what ... Read More

Java labelled for loop

Vikyath Ram

Vikyath Ram

Updated on 15-Jun-2020 09:14:32

Following program is using labeled for loops.ExampleLive Demopublic class Tester {    public static void main(String args[]) {             first:          for (int i = 0; i < 3; i++) {             for (int j = 0; ... Read More

Java nested if statement example

Vikyath Ram

Vikyath Ram

Updated on 15-Jun-2020 08:56:48

It is always legal to nest if-else statements which means you can use one if or else if statement inside another if or else if statement.SyntaxThe syntax for a nested if...else is as follows −if(Boolean_expression 1) {    // Executes when the Boolean expression 1 is true    if(Boolean_expression 2) ... Read More

Basic operators in Java

Vikyath Ram

Vikyath Ram

Updated on 15-Jun-2020 06:00:07

Java provides a rich set of operators to manipulate variables. We can divide all the Java operators into the following groups −Arithmetic OperatorsRelational OperatorsBitwise OperatorsLogical OperatorsAssignment OperatorsMisc Operators

Java Boxing and Widening

Vikyath Ram

Vikyath Ram

Updated on 15-Jun-2020 05:53:19

Java automatically does a conversion of primitive data types into their wrapper classes when assigned. It is called boxing.public class MyFirstJavaProgram {    public static void main(String []args) {       Integer testData = 10; //boxing       System.out.println(testData);    } }Whereas when we assigned a wrapper object ... Read More

Java Performance Tuning Tips

Vikyath Ram

Vikyath Ram

Updated on 13-Jun-2020 13:29:38

Performance optimization is a complex exercise and require due diligence before starting. Do your initial analysis. Use a profiler on your application first to figure out which areas are taking more time than expected. Took the bigger one first and start working on them. Following are few of the techniques ... Read More

Previous 1 ... 4 5 6 7 8 9 10 ... 18 Next
Advertisements