Full Form of CPO

Praveen Varghese Thomas
Updated on 01-Dec-2023 15:24:08

229 Views

Introduction Central Police Organization (CPO) is a branch of the Indian police. Constabulary, Upper Subordinate, State, and Central all make up tiers of the police force's organisational structure. There are numerous specialised units within the organisation in addition to the standard police force. They include the National Disaster Response Force, Narcotics Control Bureau, Research and Analysis Wing, Special Protection Group, and National Investigative Agency. Chief Purchasing Officer responsibilities vary from location to location. Definition of CPO The Central Police Organization (CPO) is a government agency responsible for policing in the country, including crime prevention, criminal investigation, security services, police ... Read More

Full Form of CPR

Praveen Varghese Thomas
Updated on 01-Dec-2023 15:22:05

223 Views

Introduction Cardiopulmonary Resuscitation (CPR) is a significant technique which is helpful in reviving a person who is not breathing or whose heart is not beating. It involves a combination of chest compressions and rescue breaths to continue the flow of oxygen towards the brain and other critical organs until any medical intervention. CPR is a crucial skill that can help save the life of a friend, a stranger, or even yourself during an emergency situation. It is important to learn CPR from a certified instructor and to regularly refresh your knowledge to be prepared in case of an emergency. ... Read More

Full Form of CPT

Praveen Varghese Thomas
Updated on 01-Dec-2023 14:53:33

175 Views

Introduction Common Proficiency Test (CPT) is an entry-level examination for students who wanted to pursue a career in Chartered Accountancy (CA) in India. The exam was conducted by the Institute of Chartered Accountants of India (ICAI) and was held twice a year, usually in June and December. The CPT exam aimed to test the basic knowledge and understanding of four subjects, namely Accounting, Mercantile Laws, General Economics, and Quantitative Aptitude. Eligibility Criteria for CPT The eligibility criteria for the Common Proficiency Test (CPT), which was an entry-level examination for Chartered Accountancy (CA) in India, was as follows − ... Read More

Use StringTokenizer Class in Java

raja
Updated on 01-Dec-2023 14:52:22

297 Views

A StringTokenizer is a subclass of Object class and it can allow an application to break a string into tokens. A set of delimiters can be specified either at creation time or on a per-token basis. An instance of StringTokenizer behaves in two ways depending on whether it was created with the returnDelims flag having the value true or false. The object of StringTokenizer internally maintains a current position within the string to be tokenized. The important methods of StringTokenizer c;ass are hasMoreElements(), hasMoreTokens(), nextElement(), nextToken() and countTokens(). Syntax public class StringTokenizer extends Object implements Enumeration Example 1 import java.util.*; public class StringTokenizerTest1 { ... Read More

Full Form of CRISIL

Praveen Varghese Thomas
Updated on 01-Dec-2023 14:51:29

202 Views

Introduction Credit Rating Information Services of India Limited (CRISIL) is a leading credit rating agency in India. It is a global analytical company providing ratings, research, and risk and policy advisory services regulated by the Securities and Exchange Board of India (SEBI) and operates in compliance with relevant regulations and guidelines. CRISIL's ratings are widely used by investors, issuers, financial intermediaries, and other stakeholders to assess credit risk and make informed investment decisions. assigns credit ratings that reflect its opinion on the credit risk associated with a particular entity or financial instrument. Services offered by CRISIL Some of the ... Read More

Save TreeSet Elements to a File in Java

raja
Updated on 01-Dec-2023 14:47:10

502 Views

A TreeSet is a subclass of AbstractSet class and it does not allow duplicate elements. By default, TreeSet stores the elements in an ascending order and retrieval speed of an element out of a TreeSet is faster. The TreeSet class internally uses a TreeMap to store elements. The elements in a TreeSet are sorted according to their natural ordering. We can also save the elements stored in a TreeSet to a file by using the Arrays.asList() method and pass this set as an argument to the writeObject() method of ObjectOutputStream class. Syntax public class TreeSet extends AbstractSet implements NavigableSet, Cloneable, Serializable Example import java.util.*; import java.io.*; public ... Read More

When to Use the getClass Method in Java

raja
Updated on 01-Dec-2023 14:43:00

274 Views

The getClass() method is from Object class and it returns an instance of the Class class. When we declare a new instance of an object, it will be referring to a class. There can only be one class per JVM but multiple object referring to it. So when we get the class of two objects, they might be referring to the same class. Syntax public final Class getClass() Example class User { private int id; private String name; public User(int id, String name) { this.id = id; this.name ... Read More

Purpose of Using dumpStack Method in Java

raja
Updated on 01-Dec-2023 14:39:39

757 Views

The dumpStack() method is a static method of Thread class and it can be used to print or display stack tracing of the current thread to System.err. The purpose of the dumpStack() method is basically for debugging and Internally this method is calling the printStackTrace() method of Throwable class. This method does not raise any exceptions. Syntax public static void dumpStack() Example public class ThreadDumpStackTest { public static void main(String args[]) { Thread t = Thread.currentThread(); t.setName("ThreadDumpStackTest"); t.setPriority(1); System.out.println("Current Thread: " + ... Read More

Full Form of CRT

Praveen Varghese Thomas
Updated on 01-Dec-2023 14:38:17

1K+ Views

Introduction Cathode Ray Tube (CRT) is a vacuum glass tube consists of multiple electron guns. They create images a beam of electrons, allowing to project the output on the phosphorescent screen. Today we see flat-screen televisions and monitors but we must remember about heavy television and computer monitors. They were big in size and heavy. That television was worked on (CRT) cathode ray tube technology. The physicist “Johann Hittorf '' discovered the Cathode rays in Crooks tube in 1869. Crooks tubes are vacuum tubes having two electrodes that are kept at high potential difference which discharge cathode rays. ... Read More

Check If String Begins With Specific Substring in Java

raja
Updated on 01-Dec-2023 14:34:36

2K+ Views

A String class can be used to represent the character strings, all the string literals in a Java program are implemented as an instance of a String class. The Strings are constants and their values cannot be changed (immutable) once created. We can use the startsWith() method of String class to check whether a string begins with a specific string or not, it returns a boolean, true or false. Syntax public boolean startsWith(String prefix) Example public class StringStartsWithSubStringTest { public static void main(String[] args) { String str = "WelcomeToTutorialsPoint"; if(str.startsWith("Welcome")) { ... Read More

Advertisements