Base64 withoutPadding Encoding of string or byte array (Java8)
Problem Statement: Given input string or byte array, we would like to perform Base64 encoding withoutPadding. Base 64 Encoder class: […]
Problem Statement: Given input string or byte array, we would like to perform Base64 encoding withoutPadding. Base 64 Encoder class: […]
Problem Statement ? Given a string like password, byte array, we would like to perform Base64 encoding and decoding of
Given a decimal number (base 10), convert decimal number to hexadecimal (base 16) using java. We will discuss various methods
Given a decimal number (base 10), convert decimal number to octal (base 8) using java. We will discuss various methods
Problem Statement ? Given a number or integer in java, we would like to calculate the sum of all digits.
Given any web page, we would like to take its screenshot using Selenium Web Driver. We can use this screenshot
Given an integer, for each digit that makes up the integer determine whether it is a divisor. Count the number
Given any web page, we would like to handle mouse & keyboard interactions using Actions class. We will use Selenium
Given any web page, we would like to validate the particular link on a web page . We will use
Given any web page, we would like to count the number of links on that particular web page. We will
Given weblogic domain containing admin and manage servers. We would like to get JVM parameters of remote Admin or manager
Given a weblogic server. We would like to get list of running servers in current domain using python script. We
Given the weblogic server. We would like list status of each server in the weblogic domain using WLST python script.
Given an application deployed in current domain of AdminServer (weblogic). We would like get all targets of deployed application in
Given the AdminServer (weblogic). We would like list deployed applications in weblogic (AdminServer) Connect to AdminServer using t3 protocol. Get
Check particular application is deployed in current domain of weblogic server. A python/jython wlst script will connect to adminserver to verify app status.
Given the AdminServer (weblogic) We would like to connect to AdminServer using t3s (secure) protocol. We can make the SSL
Undeploy/remove/uninstall application from weblogic admin server using weblogic scripting tool (WLST). connect to admin server to remove application.
Given an application war file. deploy application to weblogic admin server using WLST (WebLogic Scripting Tool). Connect, deploy applicaiton and disconnect from server.
Given shared resources in java, Synchronize resources using CountDownLatch in java. Count down latch is concurrency (multi threading) construct (example).
Semaphore is used to synchronize threads. Semaphores are often used to restrict the number of threads than can access some
Given shared resources in java. Synchronize shares resources using Lock interface. We will use ReentrantLock to protect share resources. A
Given multi-threading application in java. Create Producer & Consumer threads. Producer thread will produces the data. Consumer thread will consumes
Given a decimal number in java (base 10) Find out number of consecutive 1’s in a binary number. 1. Examples
Given a class in java containing public,private & protected fields. Get/list/print all fields of class using class Class. We will use
Given a class in java containing public,private & protected methods. We will declare a Person class containing: Public methods. Private
Given a class in java containing public,private & protected contructors. Get/list/print all constructors (prive,protected & public) of a class using
Given a class containing public methods in java. Get/Print/list public methods/functions of class in java (example) using class Class.
Given an instance of class in java. We would like to find out the class name of an object. We
Given the parent child class hierarchy in java. We would like to compare the instance of classes at run-time. We